//
//  CLsameCollectionCell.m
//  I-want-go
//
//  Created by dllo on 15/11/3.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "CLsameCollectionCell.h"
#import "CLscreen.h"
@implementation CLsameCollectionCell
- (void)dealloc {
    [_myImage release];
    [_proLabel release];
    [_addLabel release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.myImage = [[UIImageView alloc] initWithFrame:CGRectMake(8 * SWIDTH, 5 * SHEIGHT, 150 * SWIDTH, 150 * SHEIGHT)];
        self.myImage.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.myImage];
        [_myImage release];
        
        self.proLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 155 * SHEIGHT, 180 * SWIDTH, 30 * SHEIGHT)];
        self.proLabel.textAlignment = NSTextAlignmentCenter;
        self.proLabel.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.proLabel];
        [_proLabel release];
        
        self.addLabel = [[UILabel alloc] initWithFrame:CGRectMake(10 * SWIDTH, 185 * SHEIGHT, 160 * SWIDTH, 15 * SHEIGHT)];
        self.addLabel.backgroundColor = [UIColor whiteColor];
        self.addLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.addLabel];
        [_addLabel release];
    }
    return self;
}

@end
